"""import time
a=input("主")
b=input("副")
print(f"正在准备{a}")
print(f"正在准备{b}")
time.sleep(1)
c=a+b
print(f"{a}+{b}={c}")
print(f"{c}做好了")"""






"""import time,datetime
print(time.time())
a=0.1
b=0
c=10
while b<c:
    a=a+a*2
    a=a-a%0.1
    b=b+1
    print(a)


import time
a=0
b=0
f=0
while f<1:
    c=a+b
    print(f"{a}+{b}={c}")
    a=a+1
    time.sleep(0.5)
    if a==6:
        a=a-6
        b=b+1
        if b==6:
            f=f+1
print(c)"""
"""
import time
c=0
while c<10:
    a=int(input("1.蛋糕"))
    if a==1:
        b=int(input("1.草莓"))
        print("草莓+蛋糕=")
        time.sleep(1)
        print("草莓蛋糕")
        c=c+1"""
import time
t=10
ccc=1
cd=0
ld=0
cm=0
lm=0
q=0
c=10
l=10
d=10
m=10
k=0
while t>1 or q<1999:
    tt=10*ccc
    print(f"你有{c},,{l},,{d},,{m},,{cd},,{ld},,{cm},,{lm},,{q},,{tt}")
    a_1=int(input("1.制作.2.买东西.3.卖东西.4.time"))
    if a_1==1:
        a=int(input("1.蛋糕.2.面包"))
        if a==1 and d>0:
            b=int(input("1.草莓.2.蓝莓"))
            if b==1 and c>0:
                d=d-1
                c=c-1
                print("正在制作草莓蛋糕")
                time.sleep(t)
                print("草莓蛋糕！")
                cd=cd+1
            else:
                print("没有")
        else:
            print("没有")
    if a_1==2 and q>19:
        q=q-20
        c=c+10
        d=d+10
    while a_1==3 and cd>0:
        cd=cd-1
        q=q+200
        print("卖了草莓蛋糕，赚了200元")
    if a_1==4 and q>tt:
        q=q-tt
        t=t/2
        ccc=ccc+1
        print(t,q)
print("你赢了")          